package com.hntest.dao;

import com.hntest.entity.RealAuth;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;
import java.util.Random;
@Repository("RealAuthDao")
public interface RealAuthDao {
    //分页前求总记录数
    int getCounts(RealAuth realAuth);
    //分页查当页数据
    List<RealAuth> getListByPage(Map map);
    //新增
    int insert(RealAuth realAuth);
    //修改
    int update(RealAuth realAuth);
    //查询实名认证状态
    int selectState(int applier_id);
    //根据id查记录
    RealAuth getRealAuthById(int id);
}
